﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="AllPatient.aspx.cs" Inherits="Page_Customer_AllPatient" %>

<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no" />
    <title>常用就诊人</title>
    <link href="../../Content/syzyy/css/reset.css" rel="stylesheet" />
    <link href="../../Content/syzyy/css/ylt_common.css" rel="stylesheet" />
    <style type="text/css">
        body {
            background-color: #fff;
            padding: 3% 3%;
        }

        .jzr_wp {
            margin-bottom: 4%;
        }

        .jzr_list {
            position: relative;
            border: 1px solid #E5E5E5;
            border-radius: 5px;
            padding: 4% 5%;
        }

            .jzr_list .jzr_info {
                margin-top: 4%;
            }

        .jzr_vl {
            margin-left: 2%;
            word-break: break-all;
            word-wrap: break-word;
            display: inline-block;
        }

        .jzr_list .jzr_tit, .jzr_list .jzr_vl {
            font-size: 3rem;
        }

        .jzr_list .jzr_tit {
            display: inline-block;
        }

        .jzr_list .jzr_absicon {
            position: absolute;
            width: 20%;
            height: 100%;
            top: 0;
            right: 0;
        }

            .jzr_list .jzr_absicon img {
                width: 50%;
                margin-top: 40%;
            }

        .jzr_line img, .jzr_line span {
            display: block;
            font-size: 3rem;
        }

        .jzr_line img {
            width: 4.5%;
            margin: 0 4% 0 0;
        }

        .jzr_line .jzr_name {
            margin-right: 5%;
        }

        .jzr_line {
            font-size: 2.6rem;
            font-family: "microsoft yahei";
        }

        .jzr_foot {
            padding: 4% 0;
        }
        /*无报告时的样式*/
        .no_report_bg {
            text-align: center;
            margin-top: 35%;
        }

        .tips {
            text-align: center;
            line-height: 3.5rem;
            font-size: 3rem;
            font-family: "microsoft yahei";
            margin-top: 10%;
        }
    </style>
</head>
<body>

    <% if (Model != null)
        { %>
    <div class="jzr_wp f-flex">
        <div class="jzr_list f-flex1">
            <p class="jzr_line f-flex f-alignC">
                <img src="../../Content/syzyy/img/redIcon.png" />
                <span class="jzr_name"><%=Model.PatientName %></span>

            </p>
            <p class="jzr_info">
                <span class="jzr_tit">就诊卡号:</span>
                <span class="jzr_vl"><%=Model.PatientPatiID %></span>
            </p>
            <!--a标签的href属性可以直接写跳转地址-->
            <a href="PatientEdit.aspx?openid=<%=openid %>" class="jzr_absicon">
                <img src="../../Content/syzyy/img/cyjzr.png" />
            </a>
        </div>
    </div>
    <% }
        else
        {%>
    <div>
        <header class="no_report_bg">
            <img src="../../Content/syzyy/img/no_report.png" />
        </header>
        <p class="tips">
            您尚未添加就诊人，请先添加哦
        </p>
    </div>
    <footer class="jzr_foot">
        <!--a标签的href属性可以直接写跳转地址-->
        <a href="AddPatient.aspx" class="u-btn u-btn-green u-btn-lg">添加就诊人</a>
    </footer>
    <% } %>
</body>

</html>


